﻿package com.firewolf.hibernate.relationship.many_one.dto;

/**
 * @Description: 订单里面有一个Customer对象，表示这个订单是哪个客户的
 * @Author: 刘兴
 * @Date : 2016年10月26日
 * @package : com.firewolf.hibernate.relationship.n_1.onedirect.dto
 * @Java_Version : 1.7
 * @Version : 2016年10月26日上午9:32:19
 */
public class Order {
	
	private Integer orderId;
	private String orderName;
	
	private Customer customer;

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
}
